// cover some element-ui styles

// button
.el-button--primary {
  &:focus, &:hover {
    background: linear-gradient(rgb(38, 201, 255), rgb(1, 164, 218));
    border-color: #66b1ff;
  }
  background: transparent linear-gradient(rgba(38, 201, 255, 0.75), rgba(1, 164, 218, 0.75));
  border-color: transparent;
}
.el-button--danger {
  &:focus, &:hover {
    background: linear-gradient(rgb(222, 29, 29), rgb(210, 1, 1));
    border-color: #cf3030;
  }
  background: transparent linear-gradient(rgba(222, 29, 29, 0.75), rgba(210, 1, 1, 0.75));
  border-color: transparent;
}

// card
.el-card {
  .el-card__header, .el-card__body {
    padding: 0; border: none;
  }
  padding: 5px;
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.35);
  color: $white;
}


.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// hidden horizontal scrollbar
.el-scrollbar__wrap {
  overflow-x: hidden;
}


//基础弹框
.el-dialog {
  .el-dialog__header {
    background: rgba(4, 13, 21, 0.75);
    text-align: left;
    padding: 10px;
    border-radius: 6px 6px 0 0;
  }
  .el-dialog__title {
    border-left: 4px solid rgba(255, 255, 255, 0.75);
    color: rgba(255, 255, 255, 0.9);
    padding-left: 0.5em;
  }
  .el-dialog__body {
    color: #fff;
  }
  .el-dialog__headerbtn {
    top: 8px; right: 8px;
    font-size: 19px;
  }
  background: rgba(114, 220, 255, 0.85);
  border: 1px solid rgba(114, 220, 255, 0.3);
  border-radius: 6px;
}

// loading style
.el-loading-spinner i {
  color: #fff;
  font-size: 20px;
}
.el-loading-spinner .el-loading-text {
  color: #fff;
  font-size: 12px;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}
.el-picker-panel,.el-time-panel,.el-time-spinner__item ,.el-picker-panel__footer,.el-picker-panel__footer .el-button+.el-button{
  background: rgba(11, 33, 54, 0.8);
  border-color: #99e5ff;
  color:#fefefe;
}
.el-time-spinner__item:hover:not(.disabled):not(.active){
  background: rgba(0, 0, 0, 0.5);
  border-color: #99e5ff;
  color:#99e5ff;
}
.el-input--prefix .el-input__inner,.el-input--small .el-input__inner {
  padding-left: 30px;
  background: rgba(0, 0, 0, 0.3);
  border-color: #99e5ff;
  color:#fefefe;
}
.el-date-picker__header button::before{
  color:#fefefe
}

.el-collapse-item__arrow.is-active,
.el-collapse-item__arrow {
  display: none;
}
.el-collapse-item__header {
  height: 20px;
  margin-top: 20px;
}
.el-collapse-item__content{
  background: rgb(7, 21, 35)
}
.el-collapse-item__wrap{
  border-bottom:0;
}
.el-collapse{
  border:0;
}
.LV .el-radio-button__inner{
  padding: 3px 5px;
  background: rgba(0, 0, 0, 0)
}
.LV  .el-radio-button__orig-radio:checked+.el-radio-button__inner{
  background: rgba(0, 0, 0, 0)
}
